package com.kaikeba;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//引导类不允许放在根目录下
@SpringBootApplication
@EnableDubbo
@MapperScan("com.kaikeba.mapper")
public class ServiceApplication {
    public static void main(String[] args) {
        //启动Spring boot 需要指定引导类
        SpringApplication.run(ServiceApplication.class);
    }
}
